projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53e174
)
* comint.el (comint-get-old-input-default): Fix thinko in last change.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Oct 2011 12:33:31 +0000
(08:33 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Oct 2011 12:33:31 +0000
(08:33 -0400)
Fixes: debbugs:9865
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index dc3cdd9fa7a058468efe1b4e9a3d2129a6a2278f..b91b82adb21cd8c42e34becd946c49364fe01e51 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-2152,7
+2152,7
@@
If `comint-use-prompt-regexp' is non-nil, then return
the current line with any initial string matching the regexp
`comint-prompt-regexp' removed."
(let (bof)
- (if (and
comint-use-prompt-regexp
+ (if (and
(not comint-use-prompt-regexp)
;; Make sure we're in an input rather than output field.
(null (get-char-property (setq bof (field-beginning)) 'field)))
(field-string-no-properties bof)